//import java.util.Scanner;
//
//public class Main {
//    public static void main(String[] args) {
//        Scanner scanner = new Scanner(System.in);
//        //System.out.println((char)('Z'-'W'+'A'-2));
//        while(scanner.hasNextLine()) {
//            String str = scanner.nextLine();
//            StringBuffer ret = new StringBuffer();
//            for(int i =0 ; i<str.length(); i++) {
//                char ch = str.charAt(i);
//                if(ch == ' ') {
//                    ret.append(ch);
//                }else if(ch <= 'E') {
//                    ret.append((char) (ch - 'A' + 'V'));
//                }else {
//                    ret.append((char)(ch-5));
//                }
//            }
//            System.out.println(ret);
//        }
//    }
//}


import java.io.*;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter pw = new PrintWriter(new OutputStreamWriter(System.out));
        while(true) {
            String str = br.readLine();
            if(str == null) break;
            long x = Long.parseLong(str);
            int count = 0;
            for(long i = 2; i<=x; i++) {
               if(x%i==0) {
                   while(x%i==0) x = x/i;
                   count++;
               }
            }
            if(x!=1) count++;
            pw.println();
            pw.println(count);
            pw.flush();
        }
    }
}